package com.example.demo.entity.app;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import lombok.Builder;
import lombok.Data;

/**
 * @author xkx
 * @date 2019/1/7
 */
@Data
@Builder
@Entity
public class AppUserRole implements Serializable {

  private static final long serialVersionUID = 4744445612218157049L;

  @Id
  private Long userId;

  @Id
  private Long roleId;
}
